package com.bibimaya.auto.mapper.dao.utils;

public class ColumnMap {

//    CREATE TABLE "test" (
//            "id"	INTEGER NOT NULL DEFAULT 1 PRIMARY KEY AUTOINCREMENT UNIQUE,
//	"name"	INTEGER UNIQUE
//);

//    CREATE TABLE "test" (
//            "id"	INTEGER,
//            "name"	varchar,
//    PRIMARY KEY("id")
//);

    private String sql;

    private String column;

    private Class jdbcType;

    private Integer length;

    private boolean isPrimaryKey;

    public String getColumn() {
        return column;
    }

    public void setColumn(String column) {
        this.column = column;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public Class getJdbcType() {
        return jdbcType;
    }

    public void setJdbcType(Class jdbcType) {
        this.jdbcType = jdbcType;
    }

    public Integer getLength() {
        return length;
    }

    public void setLength(Integer length) {
        this.length = length;
    }

    public boolean isPrimaryKey() {
        return isPrimaryKey;
    }

    public void setPrimaryKey(boolean primaryKey) {
        isPrimaryKey = primaryKey;
    }
}
